package com.fengmi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author 123
 * @Date 2022/2/9 20:15
 * @Version 1.0
 */
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class,
        UserDetailsServiceAutoConfiguration.class, SecurityFilterAutoConfiguration.class})
@MapperScan(basePackages = "com.fengmi.mapper")
@EnableScheduling // 开启定时任务
public class FengmipuziApplication {

    public static void main(String[] args) {
        SpringApplication.run(FengmipuziApplication.class, args);
    }

}